<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="suxu">
    <title>WindBell DW 系统</title>
    
   	<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
     <![endif]-->
      <%= javascript_include_tag 'html5shiv', 'data-turbolinks-track' => true %>
      <%= javascript_include_tag 'respond.min', 'data-turbolinks-track' => true %>
   
  <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
  <%= csrf_meta_tags %>
  <style type="text/css">
    /*body { padding-top: 50px;}*/
   /* .navbar {display: block;}
    .collapse{display: inline-block;}*/
   
    #right-div{width: 100%;float: left; padding: 15px;}
    #right-div .page-header{ margin-top:5px;}
    #left-menu{min-height: 660px;}
    #left-menu {background-color: #f5f5f5;}
    #left-menu .list-group-item{background-color: #f5f5f5;border: 0px;}
    #left-menu .active{z-index: 2;color: #fff;background-color: #428bca;border-color: #428bca;}
    .font-size-18{font-size: 18px;}

    #left-menu a.list-group-item:hover{background-color: #428bca;border: 0px; z-index: 100;color: #fff;}
  

  </style>
</head>
<body>
<%= render "layouts/wdw_top"%>

<div class="container-fluid" style="height:100%; margin-top:50px;">
<div class="row">

  <div class="" id="right-div">
    <h3 class="page-header"><%= yield(:title) %></h3>
    <%= yield(:breadcrumb)%>

  
  <% if flash[:warning] %>
    <div class="alert alert-danger alert-dismissable">
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
      <strong>警告:</strong> <%= flash[:warning].gsub("Directory not empty", "文件夹不为空")%>
    </div>
  <%end%>

  <% if alert%>
      <div class="alert alert-danger alert-dismissable">
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
      <%= alert%>
    </div>
  <%end%>

  <% if notice %>
    <div class="alert alert-info alert-dismissable">
      <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
      <strong>通知:</strong> <%= notice%>
    </div>
  <%end%>
  <%= yield %>
  </div>
</div>
</div>



<!-- <div id="footer">
      <div class="container">
        <p class="text-muted">Place sticky footer content here.</p>
      </div>
    </div>
 -->

</body>

</html>
